+2005-05-25 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkselection.c (gtk_target_list_add_image_targets):
+ Make sure png comes first, otherwise dnd may use bmp by
+ default, loosing transparency.
+
2005-05-25 Michael Natterer <mitch@imendio.com>
* gtk/gtktextview.c (blink_cb): block the text_layout's "changed"
+2005-05-25 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkselection.c (gtk_target_list_add_image_targets):
+ Make sure png comes first, otherwise dnd may use bmp by
+ default, loosing transparency.
+
2005-05-25 Michael Natterer <mitch@imendio.com>
* gtk/gtktextview.c (blink_cb): block the text_layout's "changed"
+2005-05-25 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkselection.c (gtk_target_list_add_image_targets):
+ Make sure png comes first, otherwise dnd may use bmp by
+ default, loosing transparency.
+
2005-05-25 Michael Natterer <mitch@imendio.com>
* gtk/gtktextview.c (blink_cb): block the text_layout's "changed"
formats = gdk_pixbuf_get_formats ();
+ /* Make sure png comes first */
+ for (f = formats; f; f = f->next)
+ {
+ GdkPixbufFormat *fmt = f->data;
+
+ if (strcmp (gdk_pixbuf_format_get_name (fmt), "png") == 0)
+ {
+ formats = g_slist_delete_link (formats, f);
+ formats = g_slist_prepend (formats, fmt);
+
+ break;
+ }
+
+ }
+
for (f = formats; f; f = f->next)
{
GdkPixbufFormat *fmt = f->data;